//
//  HMStatusModel.m
//  weibo
//
//  Created by apple on 2016/11/17.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "HMStatusModel.h"
#import "HMPictuerInfo.h"
#import "HMUserInfoModel.h"
@implementation HMStatusModel
//-(void)setRetweeted_status:(NSDictionary *)retweeted_status{
//    _retweeted_status = retweeted_status;
//   _retweModel = [HMStatusModel yy_modelWithDictionary:retweeted_status];
//}
//-(void)setUser:(NSDictionary *)user{
//    _user = user;
////    _usermodel = (HMUserInfoModel*)user;
//    _usermodel = [HMUserInfoModel yy_modelWithDictionary:user];
//}

//-(void)setValue:(id)value forKey:(NSString *)key{
//    if ([key  isEqual: @"id"]) {
//        self.weiboID = value;
//        NSLog(@"id %@",value);
//        return;
//    }
//    [super setValue:value forKey:key];
//}
//-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
//}
/*
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"shadows" : [YYShadow class],
             @"borders" : YYBorder.class,
             @"attachments" : @"YYAttachment" };
}
*/

+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
    return @{@"pic_urls" : [HMPictuerInfo class],
             };

}

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper{
    return @{@"weiboID" : @"id"};
}

@end
